/*	Renegade Scripts.dll
	Scripts by zunnie - mp-gaming.com
	Copyright 2010 zunnie

	This file is part of the Renegade scripts.dll
	The Renegade scripts.dll is free software; you can redistribute it and/or modify it 
	under the terms of the GNU General Public License as published by the Free
	Software Foundation; either version 2, or (at your option) any later
	version. See the file COPYING for more details.
	In addition, an exemption is given to allow Run Time Dynamic Linking of this code 
	with any closed source module that does not contain code covered by this licence.
	Only the source code to the module(s) containing the licenced code has to be released.
*/

#include "scripts.h"
#include "engine.h"

class z_M02_PowerPlant : public ScriptImpClass {
	void Created(GameObject *obj);
	void Register_Auto_Save_Variables();
	void Timer_Expired(GameObject *obj, int number);
	void Damaged(GameObject *obj, GameObject *damager, float damage);
	bool sendmsg;
	bool ppdead;
	bool playsnd;
	bool dsnd;
};
class z_M02_Obelisk : public ScriptImpClass {
	void Created(GameObject *obj);
	void Register_Auto_Save_Variables();
	void Timer_Expired(GameObject *obj, int number);
	void Damaged(GameObject *obj, GameObject *damager, float damage);
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	void Killed(GameObject *obj, GameObject *shooter);
	bool obidead;
	bool playsnd;
};
class z_M02_bay_teleportzone : public ScriptImpClass {
	void Created(GameObject *obj);
	void Register_Auto_Save_Variables();
	void Timer_Expired(GameObject *obj, int number);
	void Entered(GameObject *obj, GameObject *enter);
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	bool tele;
};
class z_M02_Nod_Helipad : public ScriptImpClass {
	void Created(GameObject *obj);
	void Register_Auto_Save_Variables();
	void Timer_Expired(GameObject *obj, int number);
	void Damaged(GameObject *obj, GameObject *damager, float damage);
	void Killed(GameObject *obj, GameObject *shooter);
	bool playdead;
	bool playdmg;
	bool dead;
};
class z_M02_MissionStart : public ScriptImpClass {
	void Created(GameObject *obj);
	void Timer_Expired(GameObject *obj, int number);
};
class z_M02_ObjectiveCtrl1 : public ScriptImpClass {
	void Created(GameObject *obj);
	void Entered(GameObject *obj, GameObject *enter);
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	void Timer_Expired(GameObject *obj, int number);
	void Register_Auto_Save_Variables();
	bool play;
};
class z_M02_ObjectiveCtrl1Reminder : public ScriptImpClass {
	void Created(GameObject *obj);
	void Entered(GameObject *obj, GameObject *enter);
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	void Register_Auto_Save_Variables();
	bool play;
};
class z_M02_ObjectiveCtrl2 : public ScriptImpClass {
	void Created(GameObject *obj);
	void Entered(GameObject *obj, GameObject *enter);
	void Register_Auto_Save_Variables();
	bool play;
};
class z_M02_Objective_Houses_Ctrl : public ScriptImpClass {
	void Created(GameObject *obj);
	void Register_Auto_Save_Variables();
	void Timer_Expired(GameObject *obj, int number);
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	int secures;
	int required;
	int botcount;
};


